package com.powergisol.gis.dao;

import com.powergisol.gis.entity.TabGrider;
import com.powergisol.gis.vo.TabGriderVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.concurrent.LinkedBlockingDeque;

@Mapper
@Repository
public interface TabGriderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TabGrider record);

    int insertSelective(TabGrider record);

    TabGrider selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TabGrider record);

    int updateByPrimaryKey(TabGrider record);

    int insertList(@Param("list") LinkedBlockingDeque<TabGrider> gridersList);

    List<TabGrider> selectByUUid(@Param("uuid") String uuid);

    void delTabGrider(@Param("uuid") String uuid);

    void delTabGriderHighwidth(@Param("uuid") String uuid);

    void delTabGriderSteady(@Param("uuid") String uuid);


}